package com.qm.console.dao.dm;

import com.qm.console.model.ProductProcessDO;
import com.qm.console.model.ProductProcessDOExample;
import com.qm.console.pubdef.jw.dto.ProductQueryDTO;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProductProcessDOMapper {
    int countByExample(ProductProcessDOExample example);

    int deleteByExample(ProductProcessDOExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ProductProcessDO record);

    int insertSelective(ProductProcessDO record);

    List<ProductProcessDO> selectByExample(ProductProcessDOExample example);

    ProductProcessDO selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ProductProcessDO record, @Param("example") ProductProcessDOExample example);

    int updateByExample(@Param("record") ProductProcessDO record, @Param("example") ProductProcessDOExample example);

    int updateByPrimaryKeySelective(ProductProcessDO record);

    int updateByPrimaryKey(ProductProcessDO record);

    List<ProductProcessDO> listProducts(ProductQueryDTO query);

    int countProducts(ProductQueryDTO query);
}